// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router/index.js'
import store from './vuex/index.js'
import './loading/index.js'
import 'bulma/css/bulma.min.css'
import './utils/utils.js'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
Vue.config.productionTip = false

import GlobalLoading from './loading/Loading.vue'
Vue.component('global-loading',GlobalLoading)
import * as $axios from './utils/axios.js';
Vue.prototype.$axios = $axios;
Vue.use(iView)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  components: { App },
  template: '<App/>',
  router,
  store
})
